<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chat Interface with History and Sidebar</title>
    <link href="./assets/index.css" rel="stylesheet">
</head>

<body>
    <div class="sidebar-container">
        <div class="operation">
            <button id="btn_new_conversation" onclick="startNewConversation()">New</button>
            <button id="btn_clear_history"
                onclick="localStorage.removeItem('conversations'); displayConversations();">Clear
                History</button>
        </div>
        <div class="sidebar" id="sidebar"></div>
    </div>
    <div class="chat-container">
        <h1>Ask Anything to LLM</h1>
        <div class="chat-bubble-container">
        </div>
        <div class="ask-input">
            <textarea id="generated-text" name="generated-text" rows="4" cols="50"
                placeholder="Your message here..."></textarea>
            <div>
                <button id="btn_generate" onclick="generate()">Ask</button>
                <select name="model" id="model-select">
                    <option value="inferllm">InferLLM</option>
                    <option value="gemma">Gemma</option>
                    <option value="tinyllm">Story Teller</option>
                </select>
            </div>
        </div>
        <div id="response-section">
            <div class="pre">
                <span>Question:</span>
                <div id="response-section-question" class="chat-bubble"></div>
                <span>Response:</span>
                <div id="response-section-respone" class="chat-bubble"></div>
            </div>
        </div>
        <div>
        </div>
    </div>

    <script src="./scripts.js"></script>
    <script src="./main.js"></script>
</body>

</html>